Specifying diff Options to sdiff

Contents|Index|Previous|Next

Specifying diff Options to sdiff

The following sdiff options have the same meaning as for diff. See Options to sdiff and Options to diff for the use of these options.

-a -b -d -i -t -v
-B -H -I regexp
--ignore-blank-lines --ignore-case
--ignore-matching-lines= regexp --ignore-space-change
--left-column --minimal --speed-large-files
--suppress-common-lines --expand-tabs
--text --version --width= columns

For historical reasons, sdiff has alternate names for some options. The '-l' option is equivalent to the '--left-column' option, and similarly '-s' is equivalent to '--suppress-common-lines'. The meaning of the sdiff '-w' and '-W' options is interchanged from that of diff: with sdiff, '-w columns' is equivalent to '--width=columns', and '-W' is equivalent to '--ignore-all-space'. sdiff without the '-o' option is equivalent to diff with the '-y' or '--side-by-side' option (see Showing Differences Side by Side).